home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetPMInfo.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  861b  |  40 lines

  1. /*
  2.  *--- PGetPMInfo.cpp ------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetPMInfo.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetPMInfo.h"
  12. #include "PReplyBuf.h"
  13.  
  14. PGetPMInfo::PGetPMInfo()
  15. : PListQuery(pm_getpminfo)
  16. {
  17.     PReplyBuf reply(replyPtr);
  18.     
  19.     reply    >> &sPageMakerVer
  20.             >> &sFileSystemVer
  21.             >> &sVMVer
  22.             >> &sImageLibVer;
  23.         
  24.     listMom = (const char *) reply;
  25.     
  26.     Scan();
  27. }
  28.  
  29. void PGetPMInfo::Scan()
  30. {
  31.     PReplyBuf reply(listMom.Current());
  32.     
  33.     reply    >> &sLanguage
  34.             >> &sDictionary;
  35.     
  36.     listMom.Update(reply);
  37. }
  38.  
  39. // end of PGetPMInfo.cpp
  40.